<?php
class Admin_Form_Baza extends Zend_Form
{
    public function init()
    {
       //$request = new Zend_Controller_Request_Http();
        $this->setMethod('post');
        $this->setName('baza');
        $this->setAction('');
        
        $this->addElement('text','host',array(
            'label' => "host",
            'required' => true
                   
        ));
        
          $this->addElement('text','dbname',array(
            'label' => "nazwa bazy danych",
            'required' => true
                   
        ));
          
           $this->addElement('text','port',array(
            'label' => "port",
            'required' => true
                   
        ));
           
            $this->addElement('text','user',array(
            'label' => "nazwa użytkownika",
            'required' => true
                   
        ));
            
             $this->addElement('text','pass',array(
            'label' => "hasło",
            'required' => true
                   
        ));
             
             $this->addElement('submit','submit',array(
            'label' => "Wyślij"
            
        ));
             
             
    }
}
?>
